package tech.mhuang.hmtool.core.sample.builder;

import javafx.util.Builder;

/**
 *
 *
 *
 * @author mhuang
 * @since 1.0.0
 */
public class TestBuilder implements Builder<String> {

    private String name = "张三";

    @Override
    public String build() {
        return name;
    }

    public static void main(String[] args) {
        Builder<String> builder = new TestBuilder();
        String name = builder.build();
        System.out.println(name);
    }
}
